html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    min-width: 900px;
    overflow: hidden;
    user-select: none;
    display: block;
}

.navbar-header {
    width: 185px;
}

.navbar-header strong {
    font-size: 25px;
}

.designer_area {
    margin-top: 51px;
    width: 100%;
    position: relative;
}

#designer_controls {
    width: 260px;
    height: 900px;
    overflow: hidden;
    overflow-y: auto;
    background: #F6F6F6;
    float: left;
}

#designer_viewport {
    margin-left: 200px;
    overflow: hidden;
}

#designer_toobar {
    height: 34px;
    background: #f7f7f7;
}

.input-group p {
    background: #fff;
    border-left: none;
    border-right: none;
}

#designer_main {
    border: solid 1px #ddd;
    position: relative;
    height: 855px;
    overflow: auto;
    padding: 15px 20px;
}

#designer {
    /* width: 230mm;
    height: 127mm; */
    position: relative;
    border: solid 1px #ddd;
    z-index: 0;
    background-size: cover;
    -moz-background-size: cover;
    filter: opacity(70);
    /* background-image: url("../postpaper/zto.jpg"); */
    float: left;
}


/**滚动条设置**/

.nui-scroll::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.nui-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .05);
    border-radius: 10px;
    -webkit-box-shadow: inset 1px 1px 0 rgba(0, 0, 0, .1);
}

.nui-scroll:hover::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .2);
    border-radius: 10px;
    -webkit-box-shadow: inset 1px 1px 0 rgba(0, 0, 0, .1);
}

.nui-scroll::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, .4);
    -webkit-box-shadow: inset 1px 1px 0 rgba(0, 0, 0, .1);
}

.nui-scroll::-webkit-scrollbar-track {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
    background-color: white;
}

.nui-scroll::-webkit-scrollbar-track:hover {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .4);
    background-color: rgba(0, 0, 0, .01);
}

.input-group {
    height: 34px;
}

.control-box:hover {
    background: white;
}

.panel-body {
    padding: 8px;
}

.origin_control {
    font-size: 10px;
    cursor: pointer;
}

.table {
    margin-bottom: 0px;
}

.origin_control_drag {
    height: 24px;
    width: 200px;
    z-index: 100;
}

#font_size,
#font_family {
    text-decoration: none;
    color: #333;
}

.fontAlign {
    float: left;
    width: 51px;
}

#color_selected,
#color_selected+div {
    display: none;
}

.panel-title a {
    text-decoration: none;
}

.icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
}

.new_control {
    float: left;
    position: absolute;
    overflow: hidden;
    white-space: nowrap;
}

.new_control:hover {
    background-color: #ffa501;
}

#background_selected {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
}

#designer .ui-selecting {
    background-color: #ffa501;
}

#designer .ui-selected {
    background-color: #ffa501;
}

#designer_info {
    width: 250px;
    right: 30px;
    position: fixed;
    border: dashed 1px #ccc;
}

.designer_info_header {
    height: 30px;
    background: #ccc;
    font-family: 微软雅黑;
    font-weight: bold;
    text-align: center;
    padding: 5px;
}

.info_table tr td:first-child {
    width: 80px;
    font-weight: bold;
}

.info_table tr td:nth-child(2) {
    width: 80px;
    text-align: right;
}